package com.site.wisdom_construction.entity.iotModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-08-29 
 */
@ApiModel (value ="塔吊实时数据表实体类", description="TowerCraneRealtime")
public class TowerCraneRealtime {
	/**
	 * 塔机实时数据ID
	 */
   	@ApiModelProperty(value = "塔机实时数据ID", name = "id")
	private Integer id;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 设备id
	 */
   	@ApiModelProperty(value = "设备id", name = "deviceId")
	private String deviceId;

	/**
	 * 吊重
	 */
   	@ApiModelProperty(value = "吊重", name = "dz")
	private Double dz;

	/**
	 * 幅度
	 */
   	@ApiModelProperty(value = "幅度", name = "fd")
	private Double fd;

	/**
	 * 力矩百分比
	 */
   	@ApiModelProperty(value = "力矩百分比", name = "ljb")
	private Double ljb;

	/**
	 * 回转
	 */
   	@ApiModelProperty(value = "回转", name = "hz")
	private Double hz;

	/**
	 * 高度
	 */
   	@ApiModelProperty(value = "高度", name = "height")
	private Double height;

	/**
	 * 风速
	 */
   	@ApiModelProperty(value = "风速", name = "windspeed")
	private Double windspeed;

	/**
	 * 倾角
	 */
   	@ApiModelProperty(value = "倾角", name = "qj")
	private Double qj;

	/**
	 * 倍率
	 */
   	@ApiModelProperty(value = "倍率", name = "bl")
	private Double bl;

	/**
	 * 监控时间
	 */
   	@ApiModelProperty(value = "监控时间", name = "jkDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd HH:mm:ss")
	private Date jkDate;

	public TowerCraneRealtime(){ super(); }

	public TowerCraneRealtime(Integer id, Integer projectId, String deviceId, Double dz, Double fd, Double ljb, Double hz, Double height, Double windspeed, Double qj, Double bl, Date jkDate) {
		this.id = id;
		this.projectId = projectId;
		this.deviceId = deviceId;
		this.dz = dz;
		this.fd = fd;
		this.ljb = ljb;
		this.hz = hz;
		this.height = height;
		this.windspeed = windspeed;
		this.qj = qj;
		this.bl = bl;
		this.jkDate = jkDate;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getDeviceId() {
		return this.deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public Double getDz() {
		return this.dz;
	}

	public void setDz(Double dz) {
		this.dz = dz;
	}

	public Double getFd() {
		return this.fd;
	}

	public void setFd(Double fd) {
		this.fd = fd;
	}

	public Double getLjb() {
		return this.ljb;
	}

	public void setLjb(Double ljb) {
		this.ljb = ljb;
	}

	public Double getHz() {
		return this.hz;
	}

	public void setHz(Double hz) {
		this.hz = hz;
	}

	public Double getHeight() {
		return this.height;
	}

	public void setHeight(Double height) {
		this.height = height;
	}

	public Double getWindspeed() {
		return this.windspeed;
	}

	public void setWindspeed(Double windspeed) {
		this.windspeed = windspeed;
	}

	public Double getQj() {
		return this.qj;
	}

	public void setQj(Double qj) {
		this.qj = qj;
	}

	public Double getBl() {
		return this.bl;
	}

	public void setBl(Double bl) {
		this.bl = bl;
	}

	public Date getJkDate() {
		return this.jkDate;
	}

	public void setJkDate(Date jkDate) {
		this.jkDate = jkDate;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", deviceId='" + deviceId + '\'' +
				", dz=" + dz +
				", fd=" + fd +
				", ljb=" + ljb +
				", hz=" + hz +
				", height=" + height +
				", windspeed=" + windspeed +
				", qj=" + qj +
				", bl=" + bl +
				", jkDate=" + jkDate +
				'}';
	}
}
